// ****************************************************************************** 
// Copyright     :  Copyright (C) 2018, Hisilicon Technologies Co. Ltd.
// File name     :  sed_reg_offset_field.h
// Project line  :  K3
// Department    :  K3
// Author        :  Huawei
// Version       :  V100
// Date          :  2015/4/10
// Description   :  HiVcodecV100 VDEC
// Others        :  Generated automatically by nManager V4.2 
// History       :  Huawei 2018/04/10 10:02:43 Create file
// ******************************************************************************

#ifndef __SED_REG_OFFSET_FIELD_H__
#define __SED_REG_OFFSET_FIELD_H__

#define SED_IT2SE_BUFFER_FULL_LEN       1
#define SED_IT2SE_BUFFER_FULL_OFFSET    20
#define SED_PMV2SE_BUFFER_FULL_LEN      1
#define SED_PMV2SE_BUFFER_FULL_OFFSET   19
#define SED_PMV2SED_CTB_BUF_FULL_LEN    1
#define SED_PMV2SED_CTB_BUF_FULL_OFFSET 18
#define SED_PMV2SED_CU_BUF_FULL_LEN     1
#define SED_PMV2SED_CU_BUF_FULL_OFFSET  17
#define SED_PMV2SED_PU_BUF_FULL_LEN     1
#define SED_PMV2SED_PU_BUF_FULL_OFFSET  16
#define SED_PMV2SED_TU_BUF_FULL_LEN     1
#define SED_PMV2SED_TU_BUF_FULL_OFFSET  15
#define SED_CTL2PAR_TOP_STA_LEN         11
#define SED_CTL2PAR_TOP_STA_OFFSET      4
#define SED_CTL2PAR_ERR_LEN             1
#define SED_CTL2PAR_ERR_OFFSET          3
#define SED_CTL2PAR_PIC_RDY_LEN         1
#define SED_CTL2PAR_PIC_RDY_OFFSET      2
#define SED_CTL2PAR_SLC_RDY_LEN         1
#define SED_CTL2PAR_SLC_RDY_OFFSET      1
#define SED_CTL2PAR_MB_RDY_LEN          1
#define SED_CTL2PAR_MB_RDY_OFFSET       0

#define SED_SE2DPI_MBY_LEN    9
#define SED_SE2DPI_MBY_OFFSET 16
#define SED_SE2DPI_MBX_LEN    9
#define SED_SE2DPI_MBX_OFFSET 0

#define SED_FIRST_MB_NUM_LEN    20
#define SED_FIRST_MB_NUM_OFFSET 0

#define SED_LAST_MB_NUM_LEN    20
#define SED_LAST_MB_NUM_OFFSET 0

#define SED_SE_MVD_STATE_LEN         4
#define SED_SE_MVD_STATE_OFFSET      28
#define SED_RESBLK_STATE_LEN         3
#define SED_RESBLK_STATE_OFFSET      14
#define SED_LUMA4X4_B8_STATE_LEN     3
#define SED_LUMA4X4_B8_STATE_OFFSET  11
#define SED_SEG_LUMA4X4_STATE_LEN    4
#define SED_SEG_LUMA4X4_STATE_OFFSET 7
#define SED_RESIDUL_STATE_LEN        3
#define SED_RESIDUL_STATE_OFFSET     4
#define SED_MB_LAYER_STATE_LEN       4
#define SED_MB_LAYER_STATE_OFFSET    0

#define SED_SE2DPI_ERR_LEN              1
#define SED_SE2DPI_ERR_OFFSET           31
#define SED_SE2DPI_ERR_TYPE_LEN         8
#define SED_SE2DPI_ERR_TYPE_OFFSET      21
#define SED_DPI2SE_ENDOFVOP_LEN         1
#define SED_DPI2SE_ENDOFVOP_OFFSET      17
#define SED_SED_ERROR_LEN               1
#define SED_SED_ERROR_OFFSET            16
#define SED_VP9_STA_DEBUG[47:32]_LEN    16
#define SED_VP9_STA_DEBUG[47:32]_OFFSET 0

#define SED_SE2DPI_STA_1_LEN    32
#define SED_SE2DPI_STA_1_OFFSET 0

#define SED_SED_PERFORMANCE_PERPIC_LEN    32
#define SED_SED_PERFORMANCE_PERPIC_OFFSET 0

#define SED_SED_RESIDUAL_CNT_LEN    32
#define SED_SED_RESIDUAL_CNT_OFFSET 0

#define SED_SED_BS_INV_CNT_LEN    32
#define SED_SED_BS_INV_CNT_OFFSET 0

#define SED_SED_HEAD_CNT_LEN    32
#define SED_SED_HEAD_CNT_OFFSET 0

#define SED_SED_RESIDUAL_NUM_LEN    32
#define SED_SED_RESIDUAL_NUM_OFFSET 0

#define SED_SED_SPRESIDUAL_NUM_LEN    32
#define SED_SED_SPRESIDUAL_NUM_OFFSET 0

#define SED_HEVC_ITRANS_CNT_LEN    32
#define SED_HEVC_ITRANS_CNT_OFFSET 0

#define SED_HEVC_CU_WRITE_TOP_CNT_LEN    32
#define SED_HEVC_CU_WRITE_TOP_CNT_OFFSET 0

#define SED_HEVC_SEND_WAIT_CNT_LEN    32
#define SED_HEVC_SEND_WAIT_CNT_OFFSET 0

#define SED_HEVC_SE_DEC_CNT_LEN    32
#define SED_HEVC_SE_DEC_CNT_OFFSET 0

#define SED_HEVC_REGULAR_CNT_LEN    32
#define SED_HEVC_REGULAR_CNT_OFFSET 0

#define SED_HEVC_BYPASS_CNT_LEN    32
#define SED_HEVC_BYPASS_CNT_OFFSET 0

#define SED_HEVC_TERMINAL_CNT_LEN    32
#define SED_HEVC_TERMINAL_CNT_OFFSET 0

#define SED_BIT_NUM_CNT_TOTAL_LEN    32
#define SED_BIT_NUM_CNT_TOTAL_OFFSET 0

#define SED_VPSSI2SED_READ_INFO[31:0]_LEN    32
#define SED_VPSSI2SED_READ_INFO[31:0]_OFFSET 0

#define SED_VPSSI2SED_READ_INFO[63:32]_LEN    32
#define SED_VPSSI2SED_READ_INFO[63:32]_OFFSET 0

#define SED_CBF_Y_ZERO_NUM_LEN    32
#define SED_CBF_Y_ZERO_NUM_OFFSET 0

#define SED_CFB_U_ZERO_NUM_LEN    32
#define SED_CFB_U_ZERO_NUM_OFFSET 0

#define SED_CBF_V_ZERO_NUM_LEN    32
#define SED_CBF_V_ZERO_NUM_OFFSET 0

#define SED_QP_Y_MAX_LEN    8
#define SED_QP_Y_MAX_OFFSET 8
#define SED_QP_Y_MIN_LEN    8
#define SED_QP_Y_MIN_OFFSET 0

#define SED_QP_CR_MAX_LEN    8
#define SED_QP_CR_MAX_OFFSET 24
#define SED_QP_CR_MIN_LEN    8
#define SED_QP_CR_MIN_OFFSET 16
#define SED_QP_CB_MAX_LEN    8
#define SED_QP_CB_MAX_OFFSET 8
#define SED_QP_CB_MIN_LEN    8
#define SED_QP_CB_MIN_OFFSET 0

#define SED_QP_NUM_LEN    32
#define SED_QP_NUM_OFFSET 0

#define SED_QP_Y_SUM_LEN    32
#define SED_QP_Y_SUM_OFFSET 0

#define SED_QP_CB_SUM_LEN    32
#define SED_QP_CB_SUM_OFFSET 0

#define SED_QP_CR_SUM_LEN    32
#define SED_QP_CR_SUM_OFFSET 0

#define SED_STRM_BUF0_RDATA0_LEN    32
#define SED_STRM_BUF0_RDATA0_OFFSET 0

#define SED_STRM_BUF0_RDATA1_LEN    32
#define SED_STRM_BUF0_RDATA1_OFFSET 0

#define SED_STRM_BUF0_RDATA2_LEN    32
#define SED_STRM_BUF0_RDATA2_OFFSET 0

#define SED_STRM_BUF0_RDATA3_LEN    32
#define SED_STRM_BUF0_RDATA3_OFFSET 0

#define SED_STRM_BUF0_RDATA4_LEN    32
#define SED_STRM_BUF0_RDATA4_OFFSET 0

#define SED_STRM_BUF0_RDATA5_LEN    32
#define SED_STRM_BUF0_RDATA5_OFFSET 0

#define SED_STRM_BUF0_RDATA6_LEN    32
#define SED_STRM_BUF0_RDATA6_OFFSET 0

#define SED_STRM_BUF0_RDATA7_LEN    32
#define SED_STRM_BUF0_RDATA7_OFFSET 0

#define SED_STRM_BUF0_RDATA8_LEN    32
#define SED_STRM_BUF0_RDATA8_OFFSET 0

#define SED_STRM_BUF0_RDATA9_LEN    32
#define SED_STRM_BUF0_RDATA9_OFFSET 0

#define SED_STRM_BUF0_RDATA10_LEN    32
#define SED_STRM_BUF0_RDATA10_OFFSET 0

#define SED_STRM_BUF0_RDATA11_LEN    32
#define SED_STRM_BUF0_RDATA11_OFFSET 0

#define SED_STRM_BUF0_RDATA12_LEN    32
#define SED_STRM_BUF0_RDATA12_OFFSET 0

#define SED_STRM_BUF0_RDATA13_LEN    32
#define SED_STRM_BUF0_RDATA13_OFFSET 0

#define SED_STRM_BUF0_RDATA14_LEN    32
#define SED_STRM_BUF0_RDATA14_OFFSET 0

#define SED_STRM_BUF0_RDATA15_LEN    32
#define SED_STRM_BUF0_RDATA15_OFFSET 0

#define SED_STRM_BUF0_RDATA16_LEN    32
#define SED_STRM_BUF0_RDATA16_OFFSET 0

#define SED_STRM_BUF0_RDATA17_LEN    32
#define SED_STRM_BUF0_RDATA17_OFFSET 0

#define SED_STRM_BUF0_RDATA18_LEN    32
#define SED_STRM_BUF0_RDATA18_OFFSET 0

#define SED_STRM_BUF0_RDATA19_LEN    32
#define SED_STRM_BUF0_RDATA19_OFFSET 0

#define SED_STRM_BUF0_RDATA20_LEN    32
#define SED_STRM_BUF0_RDATA20_OFFSET 0

#define SED_STRM_BUF0_RDATA21_LEN    32
#define SED_STRM_BUF0_RDATA21_OFFSET 0

#define SED_STRM_BUF0_RDATA22_LEN    32
#define SED_STRM_BUF0_RDATA22_OFFSET 0

#define SED_STRM_BUF0_RDATA23_LEN    32
#define SED_STRM_BUF0_RDATA23_OFFSET 0

#define SED_STRM_BUF0_RDATA24_LEN    32
#define SED_STRM_BUF0_RDATA24_OFFSET 0

#define SED_STRM_BUF0_RDATA25_LEN    32
#define SED_STRM_BUF0_RDATA25_OFFSET 0

#define SED_STRM_BUF0_RDATA26_LEN    32
#define SED_STRM_BUF0_RDATA26_OFFSET 0

#define SED_STRM_BUF0_RDATA27_LEN    32
#define SED_STRM_BUF0_RDATA27_OFFSET 0

#define SED_STRM_BUF0_RDATA28_LEN    32
#define SED_STRM_BUF0_RDATA28_OFFSET 0

#define SED_STRM_BUF0_RDATA29_LEN    32
#define SED_STRM_BUF0_RDATA29_OFFSET 0

#define SED_STRM_BUF0_RDATA30_LEN    32
#define SED_STRM_BUF0_RDATA30_OFFSET 0

#define SED_STRM_BUF0_RDATA31_LEN    32
#define SED_STRM_BUF0_RDATA31_OFFSET 0

#define SED_STRM_BUF1_RDATA0_LEN    32
#define SED_STRM_BUF1_RDATA0_OFFSET 0

#define SED_STRM_BUF1_RDATA1_LEN    32
#define SED_STRM_BUF1_RDATA1_OFFSET 0

#define SED_STRM_BUF1_RDATA2_LEN    32
#define SED_STRM_BUF1_RDATA2_OFFSET 0

#define SED_STRM_BUF1_RDATA3_LEN    32
#define SED_STRM_BUF1_RDATA3_OFFSET 0

#define SED_STRM_BUF1_RDATA4_LEN    32
#define SED_STRM_BUF1_RDATA4_OFFSET 0

#define SED_STRM_BUF1_RDATA5_LEN    32
#define SED_STRM_BUF1_RDATA5_OFFSET 0

#define SED_STRM_BUF1_RDATA6_LEN    32
#define SED_STRM_BUF1_RDATA6_OFFSET 0

#define SED_STRM_BUF1_RDATA7_LEN    32
#define SED_STRM_BUF1_RDATA7_OFFSET 0

#define SED_STRM_BUF1_RDATA8_LEN    32
#define SED_STRM_BUF1_RDATA8_OFFSET 0

#define SED_STRM_BUF1_RDATA9_LEN    32
#define SED_STRM_BUF1_RDATA9_OFFSET 0

#define SED_STRM_BUF1_RDATA10_LEN    32
#define SED_STRM_BUF1_RDATA10_OFFSET 0

#define SED_STRM_BUF1_RDATA11_LEN    32
#define SED_STRM_BUF1_RDATA11_OFFSET 0

#define SED_STRM_BUF1_RDATA12_LEN    32
#define SED_STRM_BUF1_RDATA12_OFFSET 0

#define SED_STRM_BUF1_RDATA13_LEN    32
#define SED_STRM_BUF1_RDATA13_OFFSET 0

#define SED_STRM_BUF1_RDATA14_LEN    32
#define SED_STRM_BUF1_RDATA14_OFFSET 0

#define SED_STRM_BUF1_RDATA15_LEN    32
#define SED_STRM_BUF1_RDATA15_OFFSET 0

#define SED_STRM_BUF1_RDATA16_LEN    32
#define SED_STRM_BUF1_RDATA16_OFFSET 0

#define SED_STRM_BUF1_RDATA17_LEN    32
#define SED_STRM_BUF1_RDATA17_OFFSET 0

#define SED_STRM_BUF1_RDATA18_LEN    32
#define SED_STRM_BUF1_RDATA18_OFFSET 0

#define SED_STRM_BUF1_RDATA19_LEN    32
#define SED_STRM_BUF1_RDATA19_OFFSET 0

#define SED_STRM_BUF1_RDATA20_LEN    32
#define SED_STRM_BUF1_RDATA20_OFFSET 0

#define SED_STRM_BUF1_RDATA21_LEN    32
#define SED_STRM_BUF1_RDATA21_OFFSET 0

#define SED_STRM_BUF1_RDATA22_LEN    32
#define SED_STRM_BUF1_RDATA22_OFFSET 0

#define SED_STRM_BUF1_RDATA23_LEN    32
#define SED_STRM_BUF1_RDATA23_OFFSET 0

#define SED_STRM_BUF1_RDATA24_LEN    32
#define SED_STRM_BUF1_RDATA24_OFFSET 0

#define SED_STRM_BUF1_RDATA25_LEN    32
#define SED_STRM_BUF1_RDATA25_OFFSET 0

#define SED_STRM_BUF1_RDATA26_LEN    32
#define SED_STRM_BUF1_RDATA26_OFFSET 0

#define SED_STRM_BUF1_RDATA27_LEN    32
#define SED_STRM_BUF1_RDATA27_OFFSET 0

#define SED_STRM_BUF1_RDATA28_LEN    32
#define SED_STRM_BUF1_RDATA28_OFFSET 0

#define SED_STRM_BUF1_RDATA29_LEN    32
#define SED_STRM_BUF1_RDATA29_OFFSET 0

#define SED_STRM_BUF1_RDATA30_LEN    32
#define SED_STRM_BUF1_RDATA30_OFFSET 0

#define SED_STRM_BUF1_RDATA31_LEN    32
#define SED_STRM_BUF1_RDATA31_OFFSET 0

#endif // __SED_REG_OFFSET_FIELD_H__
